//
//  XMXButton.h
//  Lovetome
//
//  Created by Xiemaoxiong on 16/7/8.
//  Copyright © 2016年 上海爱途蜜网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BlockButton;
typedef void (^TouchButton)();
@interface XMXButton : UIButton
@property(nonatomic,copy)TouchButton block;
-(instancetype)initWithTitle:(NSString *)Title
       StateNormalTitleColor:(UIColor *)NormalTitleColor
  StateHighlightedTitleColor:(UIColor *)HighlightTitleColor
                   TitleFont:(UIFont *)TitleFont
             BackGroundColor:(UIColor *)BackgroundColor
                cornerRadius:(CGFloat )cornerRadius
                 borderColor:(UIColor *)borderColor
                 borderWidth:(CGFloat )borderWidth
  contentHorizontalAlignment:(UIControlContentHorizontalAlignment)contentHorizontalAlignment
                       block:(TouchButton)block;
@end
